<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var salary = 18;
        console.log("我今年工资12k人民币");
        console.log("我今年工资salaryk人民币");
        console.log("我今年工资" + salary +"人名币");

        // console.log("王一博" + "肖战");
        // 1.字符串的内部加一个变量进行拼接
        // 引引加加 变量名
        console.log("我今年工资" + salary + "k人民币");
    </script>
</body>
</html>